/* 指针 */

.g-pointer {
    position: absolute;
    top: 0;
    left: 0;
    width: 0.32rem;
    height: 0.32rem;
    background-image: linear-gradient(rgba(51, 121, 105, 0.18), rgba(1, 159, 221, 0.39));
    transition: .3s ease-out;
    border-radius: 50%;
    z-index: 999;
    mix-blend-mode: exclusion;
    pointer-events: none;
}

body {
    cursor: url("../img/cursor.png") 5 5, default;

}

.header {
    z-index: 2;
}

.app {
    overflow: hidden;
}

/* 指针 */



.contain-index {
    display: flex;
    height: calc(100vh - 0.8rem);
    justify-content: space-evenly;
    min-height: 7rem;
    /* cursor: none; */
}

.index-title {
    width: 100%;
    height: 0.39rem;
    background: url(../img/index/title.png) no-repeat;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.16rem;
    color: rgba(223, 238, 243, 1);
    text-indent: 0.5rem;
    margin-top: 0.1rem;

}

.index-left {
    width: 24%;
    height: 100%;
    z-index: 2;

    .left-chart {}

    .chart1 {
        width: 100%;
        height: 50%;

        #chart1 {
            width: 100%;
            height: calc(100% - 0.49rem);
            background-color: #040b0fcc;
            overflow: hidden;

        }
    }

    .chart2 {
        width: 100%;
        height: 50%;

        #chart2 {
            width: 100%;
            height: calc(100% - 0.49rem);
            background-color: #040b0fcc;
            position: relative;

            &::after {
                content: "";
                display: block;
                position: absolute;
                inset: 0;
                background: url("../img/index/sparkles.gif");
                mix-blend-mode: color-dodge;
                opacity: 0.2;
                pointer-events: none;
            }

            >div {
                width: 100%;
                height: 50%;
                pointer-events: none;
                display: flex;
                flex-wrap: wrap;
            }
        }

        .chart2-top-item {
            width: 50%;
            height: 30%;
            margin-top: 3%;
            display: flex;
            align-items: center;

            span {
                font-size: 0.2rem;
                color: #30FDFF;
            }

            .item-image {
                width: 0.44rem;
                height: 0.44rem;
                background-size: 100% 100%;
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 0 0.2rem 0 0.3rem;

                &::after {
                    content: '';
                    background: url("../img/index/i.png");
                    display: block;
                    width: 0.45rem;
                    height: 0.47rem;
                    background-size: 100% 100%;
                    position: absolute;

                    animation: swivel 5s infinite cubic-bezier(.68, -0.55, .27, 1.55);

                }
            }
        }
    }
}

.index-center {
    width: 48%;
    height: 100%;
    transform-style: preserve-3d;

    .center-chart {
        .chart2-switch {
            display: flex;
            align-items: center;
            color: #30a0db;

            span {
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                margin-left: 0.1rem;
                text-indent: 0;
                color: #fff;
                padding: 0.02rem 0.2rem;
            }

            span.active {
                background: linear-gradient(4deg, rgba(85, 215, 207, 0.75) 0%, rgba(17, 189, 172, 0.61) 100%);
                border-radius: 0.1rem;
            }
        }

        .chart3-score {
            position: absolute;
            top: 0.5rem;
            z-index: 3;
            font-size: 0.12rem;

            span {
                color: rgba(34, 248, 245, 1);
                margin: 0 0.5rem 0 1.5rem;
                font-size: 0.14rem;

            }
        }
    }

    .chart1 {
        width: 100%;
        height: 60%;
        margin-top: 0.1rem;
        /* background-color: #040b0fcc;
        backdrop-filter: blur(15px);
        background: linear-gradient(var(--angle), rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.5));
        mask: linear-gradient(var(--angle), rgba(255, 255, 255, .5), #fff);
        transition: all 0.3s, --angle 0.3s; */
        position: relative;


    }

    .p-animation {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0.6;
        z-index: 1;
    }

    .g-bg {
        position: absolute;
        top: -20%;
        left: -60%;
        width: 240%;
        height: 200%;
        background-image: url("../img/index/bg1.png");
        background-size: 30% auto;
        z-index: 1;
        filter: hue-rotate(138deg) brightness(0.5) grayscale(3);
        background-position: 40%;
        pointer-events: none;
    }

    .g-circle {
        position: absolute;
        width: 1rem;
        height: 1rem;
        background-image: url("../img/index/bg2.png");
        background-size: cover;
        filter: hue-rotate(150deg);
        animation: scale 10s linear infinite;
        pointer-events: none;
    }


    .center-chart-con {
        width: 100%;
        height: 100%;
        z-index: 2;
        position: relative;
    }

    .center-chart-conut {
        width: 100%;
        height: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: space-evenly;

        .center-conut-item {
            width: 2.36rem;
            height: 0.54rem;
            background-image: url("../img/index/bg.png");
            background-size: cover;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.1rem;
            font-size: 0.16rem;
            color: #30ffff;
            cursor: url("../img/cursor.png") 5 5, default;
        }

        .center-conut-item:nth-child(2) {
            filter: hue-rotate(315deg);
        }

        .center-conut-item:nth-child(3) {
            filter: hue-rotate(250deg);
        }
    }

    .center-chart-total {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        height: calc(100% - 1.2rem);

        .center-total-item {
            width: 90%;
            height: 2rem;
            background-image: url("../img/index/bg3.png");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: bottom;
            display: flex;
            align-items: center;
            justify-content: space-around;

            >div {
                width: 1.4rem;
                height: 1.44rem;
                background-size: 100% 100%;
                text-align: center;
                transition: all 0.3s;
            }

            span {
                color: #23FFFC;
                font-size: 0.18rem;
                margin-bottom: 0.2rem;
            }
        }

        .center-total-item>div:hover {
            filter: drop-shadow(var(--drop) var(--drop) 8px #00ffcf);
            scale: 1.2;
            animation: rotate 5s infinite linear;
        }

        .center-total-item>div.active {
            filter: url(#fe1);
            opacity: 0.5;
        }


    }


    .chart2 {
        width: 100%;
        height: 40%;
        z-index: 2;
        position: relative;

        #chart3 {
            width: 100%;
            height: calc(100% - 0.49rem);
            background-color: #040b0fcc;

        }
    }
}

.index-right {
    width: 24%;
    height: 100%;
    z-index: 2;

    .right-chart {}

    .chart1 {
        width: 100%;
        height: 50%;

        #chart4 {
            width: 100%;
            height: calc(100% - 0.49rem);
            background-color: #040b0fcc;

        }
    }

    .chart2 {
        width: 100%;
        height: 50%;

        #chart5 {
            width: 100%;
            height: calc(100% - 0.49rem);
            background-color: #040b0fcc;
        }
    }

    .chart4-top {
        height: 30%;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        pointer-events: none;

        >div {
            width: 1.87rem;
            height: 0.83rem;
            background-image: url("../img/index/bg4.png");
            background-size: contain;
            background-repeat: no-repeat;
            display: flex;
            flex-direction: column;
            padding: 0.15rem 0.4rem 0;

            >div {
                display: flex;
                justify-content: space-between;
                margin-top: 0.1rem;
                color: #23FFFC;
            }

            span {
                color: #fff;
            }
        }
    }

    .chart4-bottom {
        height: 100%;
        pointer-events: none;
    }
}


@keyframes scale {
    0% {
        scale: 0.5;
    }

    50% {
        scale: 8;
    }

    100% {
        scale: 0.5;
    }
}

@keyframes rotate {
    0% {
        --drop: -4px;
    }

    50% {
        --drop: 4px;
    }

    100% {
        --drop: -4px;
    }

}

@keyframes scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-150%);
    }
}


@keyframes swivel {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg);
    }
}

.pb {
    margin: auto;
    width: 100%;
    height: 100%;
    position: relative;
    animation: scroll 20s linear infinite;
    pointer-events: none;





}

.pb .box-inside {
    position: relative;
    z-index: 1;
    background-color: #040b0fcc;


}

.pb img {
    width: 0.6rem;
    height: 0.27rem;
}

.pb>div {
    height: 0.8rem;
    padding: 0.2rem;
    background-color: #0a505e66;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.pb>div>div {
    width: calc(100% - 1rem);
    display: flex;
    flex-wrap: wrap;
}

.pb>div li {
    width: 50%;
    margin: 0.05rem 0;
}



/* 3d卡片墙 */
.perspective-photo {
    width: 100%;
    height: 100%;
    zoom: 2;
    position: relative;
    pointer-events: none;
    font-size: 0.08rem;
    color: #30FDFF;



}

.perspective-photo img {
    width: .48rem;
    height: .48rem;
    border-radius: 50%;
    filter: drop-shadow(0px 1px 1px black);
}

.perspective-photo::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background: url("../img/index/sparkles.gif");
    mix-blend-mode: color-dodge;
    opacity: 0.2;
    pointer-events: none;
}

.perspective-photo #stage {
    width: 100%;
    height: 100%;
    -webkit-perspective: 5000px;
    -moz-perspective: 5000px;
    perspective: 5000px;
    -webkit-transition: top 0.5s;
    -moz-transition: top 0.5s;
    transition: top 0.5s;
    position: relative;
}

.perspective-photo #container {
    width: 1rem;
    height: 60%;
    margin-left: 0.7rem;
    -webkit-transition: -webkit-transform 1s;
    -moz-transition: -moz-transform 1s;
    transition: transform 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-animation: photoRotate 24s ease-in-out infinite 2s;
    animation: photoRotate 24s ease-in-out infinite 2s;
}

.perspective-photo .rotate-item {
    width: 1rem;
    margin-top: 0.4rem;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    -webkit-transition: opacity 1s, -webkit-transform 1s;
    -moz-transition: opacity 1s, -moz-transform 1s;
    transition: opacity 1s, transform 1s;
    position: absolute;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    background-color: rgba(3, 22, 38, 0.8);
    box-shadow: 2px 2px 4px #000;


    /*      counter-increment: index;

    &::before {
        content: counter(index);
        position: absolute;
        top: -0.15rem;
        left: -0.15rem;
        width: 0.3rem;
        height: 0.3rem;
        background: linear-gradient(180deg, #4b99a6, #182b64);
        display: flex;
        align-items: end;
        justify-content: center;
        font-size: 0.1rem;
        color: #fff;
        border-radius: 50%;
        text-indent: 0.1rem;
        line-height: 0.18rem;
        filter: drop-shadow(1px 2px 2px #000000c4);
        z-index: 3;
    } */
}


.subscript {
    position: absolute;
    top: 0.04rem;
    left: 0.04rem;
    width: 0.16rem;
    height: 0.16rem;
}

.perspective-photo .rotate-item:nth-child(1) {
    -webkit-transform: rotateY(0deg) translateZ(1rem);
    transform: rotateY(0deg) translateZ(1rem);

}

.perspective-photo .rotate-item:nth-child(2) {
    -webkit-transform: rotateY(60deg) translateZ(1rem);
    transform: rotateY(60deg) translateZ(1rem);

}

.perspective-photo .rotate-item:nth-child(3) {
    -webkit-transform: rotateY(120deg) translateZ(1rem);
    transform: rotateY(120deg) translateZ(1rem);

}

.perspective-photo .rotate-item:nth-child(4) {
    -webkit-transform: rotateY(180deg) translateZ(1rem);
    transform: rotateY(180deg) translateZ(1rem);

}

.perspective-photo .rotate-item:nth-child(5) {
    -webkit-transform: rotateY(240deg) translateZ(1rem);
    transform: rotateY(240deg) translateZ(1rem);

}

.perspective-photo .rotate-item:nth-child(6) {
    -webkit-transform: rotateY(300deg) translateZ(1rem);
    transform: rotateY(300deg) translateZ(1rem);

}


@keyframes photoRotate {
    0% {
        -webkit-transform: rotateY(-0deg);
        transform: rotateY(-0deg);
    }

    8.3% {
        -webkit-transform: rotateY(-60deg);
        transform: rotateY(-60deg);
    }

    16.7% {
        -webkit-transform: rotateY(-60deg);
        transform: rotateY(-60deg);
    }

    25% {
        -webkit-transform: rotateY(-120deg);
        transform: rotateY(-120deg);
    }

    33.3% {
        -webkit-transform: rotateY(-120deg);
        transform: rotateY(-120deg);
    }

    41.6% {
        -webkit-transform: rotateY(-180deg);
        transform: rotateY(-180deg);
    }

    50% {
        -webkit-transform: rotateY(-180deg);
        transform: rotateY(-180deg);
    }

    58.3% {
        -webkit-transform: rotateY(-240deg);
        transform: rotateY(-240deg);
    }

    66.7% {
        -webkit-transform: rotateY(-240deg);
        transform: rotateY(-240deg);
    }

    75% {
        -webkit-transform: rotateY(-300deg);
        transform: rotateY(-300deg);
    }

    83.3% {
        -webkit-transform: rotateY(-300deg);
        transform: rotateY(-300deg);
    }

    91.6% {
        -webkit-transform: rotateY(-360deg);
        transform: rotateY(-360deg);
    }

    100% {
        -webkit-transform: rotateY(-360deg);
        transform: rotateY(-360deg);
    }
}

.chart-border {

    &::before,
    &::after {
        background-image: conic-gradient(from var(--angle),
                rgb(19, 92, 100),
                rgb(10, 113, 98), rgb(13, 70, 87), rgb(14, 65, 68),
                rgb(19, 92, 100));
    }
}

/* 3d卡片墙 */



/* 枪炮协同背景 */

.g-svg {
    width: 100%;
    height: calc(100% - 0.5rem);
    position: absolute;

    .g-dashed-line {
        stroke: rgba(85, 255, 204, 0.842);
        stroke-dasharray: 40, 320;
        stroke-dashoffset: 0;
        animation: movesvg 2.4s infinite linear;
        filter: drop-shadow(0 0 5px #25ffed);

    }
}

@keyframes movesvg {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -320;
    }
}

/* 枪炮协同背景 */



/* 中间卡片移入特效 */


.index-card {

    color: #E2F1FF;
    cursor: pointer;
    position: relative;
    transition: color 1s;
    overflow: hidden;

    &::before,
    &::after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        top: 0;
        left: 0;
        box-sizing: border-box;
        border: 0.01rem solid transparent;
    }

    &.active {
        transition: all 0.3s;
        color: #ccfffc;
        transform: translateY(-0.01rem);
        box-shadow: 4px 4px 10px 2px #181818;
        background-image: linear-gradient(30deg, #21f5b508, #09c7e008, #198ad608);
        animation: hueRotate 4s infinite alternate;

        & img {
            transition: all 0.3s;
            filter: drop-shadow(0 0 5px #00ffc3) drop-shadow(3px 3px 2px #000);
        }

        &::before {
            transition: width 0.25s, height 0.25s, border-bottom-color 0s;
            transition-delay: 0.25s, 0s, 0.25s;
            height: 100%;
            width: 100%;
            border-left: 0.01rem solid #00e2ff;
            border-bottom: 0.01rem solid #00ffdd;
        }

        &::after {
            transition: width 0.25s, height 0.25s, border-right-color 0.25s;
            transition-delay: 0s, 0.25s, 0.25s;
            height: 100%;
            width: 100%;
            border-top: 0.01rem solid #00e2ff;
            border-right: 0.01rem solid #00e2ff;
        }
    }

}


@keyframes hueRotate {
    100% {
        filter: hue-rotate(30deg);
    }
}

/* 中间卡片移入特效 */


@keyframes smoky {
    to {
        transform:
            translate3d(200px, -80px, 0) rotate(-40deg) skewX(70deg) scale(1.5);
        text-shadow: 0 0 20px whitesmoke;
        opacity: 0;
    }
}